home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / Spinning Cursor 1.1 / Spinning Cursor Library Source / Header ƒ / SpinLibInterns.h < prev   
Encoding:
C/C++ Source or Header  |  1995-06-26  |  804 b   |  31 lines  |  [TEXT/KAHL]

  1. /*
  2.     SpinLibInterns.h
  3.     
  4.     Internal header for the beachball cursor spinning library.
  5.     
  6. */
  7.  
  8. #ifndef __H_SpinLibInterns__
  9. #define __H_SpinLibInterns__
  10.  
  11. #include <Retrace.h>
  12.  
  13. typedef struct {
  14.     VBLTask                vblTask;        // the task used by the system to enter VBL tasks.
  15.     long                    vblKeyTag;     // for picking this structure out of the VBL queue.
  16.     long                    vblA5;        // a5 for the application using the library.
  17.     CursHandle*            cursors;        // the array of cursors to display.
  18.     short                direction;        // direction determines how value is modified (+/- 1).
  19.     short                value;        // value determines which cursor will be displayed.
  20. } CursorTask, *CursorTaskPtr;
  21.  
  22. OSErr SpinInit(void);
  23. OSErr SpinStart(short direction);
  24. OSErr SpinStop(void);
  25. OSErr SpinCleanup(void);
  26. Boolean SpinSpinning(void);
  27.  
  28. pascal void SpinTask(void);
  29.  
  30. #endif
  31.